﻿ 
namespace Core.Items.Modules
{
    /*

		MetaGroup                      = IndustrialModules
		Group                          = IndustrialTunings
		Module                         = piog forgekit bw1 industrial tuning prototype
		CpuUsage                       = 33.00 TF
		ReactorUsage                   = 21.00 RP
		Type                           = Passive
		Slot                           = Head
		TechnologicalLevel             = T4P
		Mass                           = 45.00 kg
		PackedVolume                   = 0.05 U
		Volume                         = 0.10 U
		HarvestedAmountIncrease        = 10.00 %
		MinedAmountIncrease            = 10.00 %
    */

    using System;
    using Base;
    using Contracts.Enums;
    using Contracts.Interfaces;
    using Extensions;
    using Features;
    
    /// <summary>
    /// Piog Forgekit BW1 industrial tuning prototype module class
    /// </summary>
    /// <remarks>File generated on 31/10/2011 16:00:55</remarks>
    public sealed class PiogForgekitBw1IndustrialTuningPrototype : ModuleBase
    {
        /// <summary>
        /// Create a new instance of the <see cref="PiogForgekitBw1IndustrialTuningPrototype"/> class.
        /// </summary>
        public PiogForgekitBw1IndustrialTuningPrototype()
            : base(
            "Piog Forgekit BW1 industrial tuning prototype",
            "",
            ModuleMetaGroupsEnum.Industrial,
            ModuleGroupsEnum.IndustrialTunings,
            TechnologyLevelsEnum.Level4|TechnologyLevelsEnum.Prototype,
            SizesEnum.Small,
            new LazyFeature[] { 
				new LazyFeature(typeof(CpuUsage<double>),33.00),
				new LazyFeature(typeof(ReactorUsage<double>),21.00),
				new LazyFeature(typeof(ModuleMass<double>),45.00), },
            null,
            new IModifier[] { 
				new Modifier( FeatureTypesEnum.Robot, FeaturesEnum.RobotMass, 45.00 ){ IsVisible = false },
				new Modifier( FeatureTypesEnum.Module, FeaturesEnum.HarvestedAmount, 0.1 ){ Unit = UnitsEnum.Percentage, DisplayName = "Harvested amount"  },
				new Modifier( FeatureTypesEnum.Module, FeaturesEnum.MinedAmount, 0.1 ){ Unit = UnitsEnum.Percentage, DisplayName = "Mined amount"  }, } )
        {
        }

        /// <summary>
        /// Obtains the activation type
        /// </summary>
        public override ModuleActivationTypesEnum ActivationType
        {
            get { return ModuleActivationTypesEnum.Passive; }
        }
        /// <summary>
        /// Obtains the module slot group 
        /// </summary>
        public override SlotGroupsEnum SlotGroup
        {
            get { return SlotGroupsEnum.Head; }
        }
        /// <summary>
        /// Obtains the module slot type 
        /// </summary>
        public override SlotTypesEnum SlotType
        {
            get { return SlotTypesEnum.Modules; }
        }
    }
}